﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleAppTemp.TemplatePdf
{

    /// <summary>
    /// 模板电子凭据
    /// </summary>
    public abstract class BaseTemplate
    {
        public BaseTemplate(string s)
        {
            buildPdf(s);
        }

        public virtual void GetCustomerHeader()
        {
            Console.WriteLine("--------模板的-------");
        }
        private void buildPdf(string s)
        {
            Console.WriteLine(s);
            GetCustomerHeader();
        }
    }
}
